package net.zjitc.interfaces.transport;

/**
 * @Author admin
 * @Date 2019/3/26 14:28
 * 子类：继承、实现
 *   重写
 */
public class Truck extends Car implements  Maintain{
    public Truck() {
    }

    public Truck(String number, String type, String driver) {
        super(number, type, driver);
    }

    @Override
    public void transport() {
        System.out.println("快递运输中。。。");
    }

    @Override
    public void keep() {
        System.out.println("货物运输车保养完毕");
    }
}
